package tt.dz.tcp.rpc.ms.client.entity;

import java.util.List;

/**
 * 查询运营商信息VO类
 */
public class MasterQueryMerchantVO {

	public MasterQueryMerchantVO() {}
	
	/**
	 * 查询运营商信息参数VO类
	 */
	public static class MasterQueryMerchantParamVO {
		/** 开始日期，yyyy-mm-dd（无传参取当天日期） */
		private String startTime;
		/** 结束日期，yyyy-mm-dd（无传参取明天日期） */
		private String endTime;
		/** 服务提供商类型:0 运营商 1 厂商 2合作商 */
		private Integer providerType;
		
		public String getStartTime() {
			return startTime;
		}
		public void setStartTime(String startTime) {
			this.startTime = startTime;
		}
		public String getEndTime() {
			return endTime;
		}
		public void setEndTime(String endTime) {
			this.endTime = endTime;
		}
		public Integer getProviderType() {
			return providerType;
		}
		public void setProviderType(Integer providerType) {
			this.providerType = providerType;
		}		
	}
	
	/**
	 * 查询运营商信息返回值VO类
	 */
	public static class MasterQueryMerchantRetVO {
		/** 操作结果：1 成功，0 失败 */
		private Integer isSuccess;
		/** 服务提供商列表 */
		private List<ProviderVO> result;
		/** 错误信息 */
		private String errorMsg;
		/** 错误编码 */
		private String errorCode;
		
		public Integer getIsSuccess() {
			return isSuccess;
		}
		public void setIsSuccess(Integer isSuccess) {
			this.isSuccess = isSuccess;
		}
		public List<ProviderVO> getResult() {
			return result;
		}
		public void setResult(List<ProviderVO> result) {
			this.result = result;
		}
		public String getErrorMsg() {
			return errorMsg;
		}
		public void setErrorMsg(String errorMsg) {
			this.errorMsg = errorMsg;
		}
		public String getErrorCode() {
			return errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		
		/**
		 * 服务提供商VO类
		 */
		public static class ProviderVO {
			/** 服务提供商代码 */
			private String merchantCode;
			/** 简称 */
			private String shortName;
			/** 服务提供商名称 */
			private String name;
			/** 是否自营：1 是，0 否 */
			private Integer isSelf;
			/** 服务提供商类型:0 运营商 1 厂商 2合作商  */
			private Integer providerType;
			/** 结算类型：0 周期结算，1 实时转账  */
			private Integer balType;
			/** 地址  */
			private String address;
			/** 邮编  */
			private String post;
			/** 法人  */
			private String owner;
			/** 法人身份证号  */
			private String idNo;
			/** 联系电话  */
			private String telphone;
			/** 联系人  */
			private String contactName;
			/** 状态：0：录入未复核，1：有效（已复核），2：修改未复核，3：删除  */
			private Integer state;
			/** 区县代码  */
			private String districtCode;
			/** 审核日期:yyyy-mm-dd  */
			private String checkDate;
			/** 是否有效：1有 0 无效  */
			private Integer isValid;
			/** 创建人  */
			private String createdBy;
			/** 创建日期：yyyy-mm-dd  */
			private String createdTime;
			/** 修改人  */
			private String updatedBy;
			/** 修改日期:yyyy-mm-dd  */
			private String updatedTime;
			
			public String getMerchantCode() {
				return merchantCode;
			}
			public void setMerchantCode(String merchantCode) {
				this.merchantCode = merchantCode;
			}
			public String getShortName() {
				return shortName;
			}
			public void setShortName(String shortName) {
				this.shortName = shortName;
			}
			public String getName() {
				return name;
			}
			public void setName(String name) {
				this.name = name;
			}
			public Integer getIsSelf() {
				return isSelf;
			}
			public void setIsSelf(Integer isSelf) {
				this.isSelf = isSelf;
			}
			public Integer getProviderType() {
				return providerType;
			}
			public void setProviderType(Integer providerType) {
				this.providerType = providerType;
			}
			public Integer getBalType() {
				return balType;
			}
			public void setBalType(Integer balType) {
				this.balType = balType;
			}
			public String getAddress() {
				return address;
			}
			public void setAddress(String address) {
				this.address = address;
			}
			public String getPost() {
				return post;
			}
			public void setPost(String post) {
				this.post = post;
			}
			public String getOwner() {
				return owner;
			}
			public void setOwner(String owner) {
				this.owner = owner;
			}
			public String getIdNo() {
				return idNo;
			}
			public void setIdNo(String idNo) {
				this.idNo = idNo;
			}
			public String getTelphone() {
				return telphone;
			}
			public void setTelphone(String telphone) {
				this.telphone = telphone;
			}
			public String getContactName() {
				return contactName;
			}
			public void setContactName(String contactName) {
				this.contactName = contactName;
			}
			public Integer getState() {
				return state;
			}
			public void setState(Integer state) {
				this.state = state;
			}
			public String getDistrictCode() {
				return districtCode;
			}
			public void setDistrictCode(String districtCode) {
				this.districtCode = districtCode;
			}
			public String getCheckDate() {
				return checkDate;
			}
			public void setCheckDate(String checkDate) {
				this.checkDate = checkDate;
			}
			public Integer getIsValid() {
				return isValid;
			}
			public void setIsValid(Integer isValid) {
				this.isValid = isValid;
			}
			public String getCreatedBy() {
				return createdBy;
			}
			public void setCreatedBy(String createdBy) {
				this.createdBy = createdBy;
			}
			public String getCreatedTime() {
				return createdTime;
			}
			public void setCreatedTime(String createdTime) {
				this.createdTime = createdTime;
			}
			public String getUpdatedBy() {
				return updatedBy;
			}
			public void setUpdatedBy(String updatedBy) {
				this.updatedBy = updatedBy;
			}
			public String getUpdatedTime() {
				return updatedTime;
			}
			public void setUpdatedTime(String updatedTime) {
				this.updatedTime = updatedTime;
			}					
		}
	}
}
